/**
 ******************************************************************************
 * @file    step.c
 * @brief   step program body
 ******************************************************************************
 * @attention
 ******************************************************************************
 */
/* includes ------------------------------------------------------------------*/
#include "step.h"
/* Private includes ----------------------------------------------------------*/
#include "ds3553.h"

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private user code ---------------------------------------------------------*/
/**
 * @brief 智能计步传感器初始化
 * @param
 * @return
 */
void Step_Init(void)
{
	DS3553_Init();
}

/**
 * @brief 读取计步器的数据
 * @param
 * @return
 */
uint32_t Step_GetCount(void)
{
	uint32_t step = DS3553_readStepCount();
	return step;
}
